package cn.tedu._05mvcboot01.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class GoodsController {
    @RequestMapping("/v1/goods/index")
    @ResponseBody
    public String query(){
        return "<h1>恭喜你，查询成功!</h1>";
    }
}